package com.hj.demo;

import java.math.BigDecimal;
import java.math.RoundingMode;

public class Demo2 {
    public static void main(String[] args) {
        BigDecimal a1 = new BigDecimal("0.16113123");
        System.out.println(a1.divide(BigDecimal.valueOf(1),2,0));
        System.out.println(a1.divide(BigDecimal.valueOf(1),3,5));
    }
}
